home *** CD-ROM | disk | FTP | other *** search
Makefile | 1993-06-08 | 2.9 KB | 105 lines |
- #
- # Makefile, uubatch version 1.0.5
- #
- # uubatch package Makefile
- #
- # Authors : Gil Tene (devil@hellnet.org)
- # Baruch Cochavy (blue@dduster.hellnet.org)
- #
- #
-
- #
- # Defines:
- #
- # MIN_TIME_BEFORE_BATCH : The minimun time (in seconds) since the
- # time a job was queued before it can be batched. This is use to
- # avoid clashing with rmail jobs that are being queued at the same
- # time as the batching is done. Recommended more than 1 minutes
- # (60 seconds to be sure...)
- #
- # UUCP_SPOOL_DIR : The directory under which individual nodes' spool
- # directory files are (such as /usr/spool/uucp)
- #
- # _PATH_LOCKDIRNAME : describes (in printf format) the complete path
- # and name of a uucp lock file for a given node name.
- #
- # The follwoing is an example CONFIG_DEFS setting for a tipical instalation:
- #
- # SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
- # -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
- #
- #
- # The following are configuration dependent:
- #
- CONFIG_DEFS = -DMIN_TIME_BEFORE_BATCH=60
- #
- # uubatch version
- VER=1.0.5
- #
- # The following are system dependent:
- ######################################################################
- # for Ultrix
- #
- #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
- -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
- #CCFLAGS = -DBSD -O
- #
- ######################################################################
- # for Sun386i
- #
- #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
- -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
- #CCFLAGS = -Dsun386i -O
- #
- ######################################################################
- # for SounOS 4.1
- #
- SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
- -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
- CCFLAGS = -O
- #
- ######################################################################
- # for SCO Unix with a gcc compiler:
- #
- #CC = gcc
- #CCFLAGS = -O -DSCO
- #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
- -D_PATH_LOCKDIRNAME=\"/usr/spool/uucp/LCK..%s\"
- #
- ######################################################################
- #
- # for NeXT BSD4.3 (System 2.1) :
- #
- #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
- -D_PATH_LOCKDIRNAME=\"/usr/spool/uucp/LCK..%s\"
- #CCFLAGS = -object -O -g
- #
- ######################################################################
- # for OKI860
- #
- #SYS_DEFS = -DUUCP_SPOOL_DIR=\"/usr/spool/uucp\" \
- -D_PATH_LOCKDIRNAME=\"/usr/spool/locks/LCK..%s\"
- #CCFLAGS = -DSCO -DHAS_STRING -O
- #
- ######################################################################
-
-
- all: uudebat uubatch uucplock
-
- uudebat: uudebat.c
- $(CC) $(CCFLAGS) $(SYS_DEFS) $(CONFIG_DEFS) uudebat.c -o uudebat
-
- uubatch: uubatch.c
- $(CC) $(CCFLAGS) $(SYS_DEFS) $(CONFIG_DEFS) uubatch.c -o uubatch
-
- uucplock: uucplock.c
- $(CC) $(CCFLAGS) $(SYS_DEFS) $(CONFIG_DEFS) uucplock.c -o uucplock
-
- shar:
- shar COPYRIGHT Makefile README uubatch.c uucdebat \
- uucplock.c uudebat.c uubatch.1 uudebat.1 \
- patchlevel.h > uubatch.$(VER)
-
- clean:
- -rm -f uudebat uubatch uucplock
-